﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucCookie.ascx.cs" Inherits="SES.CMS.Module.ucCookie" %>
<div class="SP">
    Sản Phẩm Vừa xem<img src="/images/temp.jpg" width="590px" align="top" alt="tem" />
    <asp:Repeater ID="rpt" runat="server" OnItemCommand="rpt_ItemCommand">
        <ItemTemplate>
            <div class="product-box">
                <div class="product-img">
                    <a href="<%#"/SanPhamChiTiet/"+Eval("SanPhamID")+"/"+FriendlyUrl(Eval("TenSanPham").ToString())%>">
                        <img src="/Media/<%#Eval("HinhAnh")%>" /></a>
                    <asp:Button CommandArgument='<%#Eval("SanPhamID")%>' runat="server" ID="btDatMua"
                        Text="ĐẶT MUA" Width="90px" BorderWidth="0px" CssClass="btn" Height="25px" BackColor="#009345" />
                </div>
                <div class="product-detail">
                <div style="float:left; width:120px; height:95px;">
                    <a href="<%#"/SanPhamChiTiet/"+Eval("SanPhamID")+"/"+FriendlyUrl(Eval("TenSanPham").ToString())%>">
                        <%#Eval("TenSanPham")%></a>
                    <div class="dMota">
                        <%#Eval("Mota")%></div>
                </div>
                    <div style="float:left; color: #c20b47; font-size: 12px; text-transform: uppercase">
                   
                        Giá:
                        <%#(bool)(Int64.Parse(Eval("DonGia").ToString()) == 0) ? "Liên hệ" : Eval("DonGia", "{0:0,0} VNĐ")%>
                        
                    </div>
                </div>
            </div>
        </ItemTemplate>
    </asp:Repeater>
</div>
